/**
 * 
 */
package dms.service;

import dms.model.Classes;
import dms.model.Dormitory;
import dms.model.School;
import dms.model.role.Student;
import dms.model.util.PageIterator;

/**
 * @author 李健
 *
 */
public interface StudentQueryService {
	
	PageIterator<Student> findAll(int start, int count);
	
	PageIterator<Student> findByClasses(Classes classes, int start, int count);
	
	PageIterator<Student> findByDormitory(Dormitory dormitory, int start, int count);
	
	PageIterator<Student> findBySchool(School school, int start, int count);
	
	PageIterator<Student> findByQuery(int start, int count, String query);
	
	Student findById(long id);
}
